package com.pangda.pojo.data;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author xjy
 * @since 2024-06-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysRoleData {

    private static final long serialVersionUID = 1L;

    @ExcelProperty("用户id")
    private Long roleId;

    @ExcelProperty(value = "角色名称")
    private String roleName;

    @ExcelProperty(value = "角色键")
    private String roleKey;

    @ExcelProperty(value = "排序")
    private Integer roleSort;

    @ExcelProperty(value = "状态 0-正常、1-停用")
    private Integer status;

    @ExcelProperty(value = "是否为管理员 0-是、1-不是")
    private Boolean admin;

    @ExcelProperty(value = "数据范围")
    private String dataScope;

}
